import './assets/main.css'
//App
import {createApp} from 'vue'
import App from './App.vue'
//router
import router from './router/index.js'
//pinia
import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
//element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//element-plus国际化
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
//icon
import ArcoVue from '@arco-design/web-vue'
import '@arco-design/web-vue/dist/arco.css'
//axios
import axios from 'axios'
import request from '@/utils/requset.js'
import './assets/alibaba-icon/iconfont.css';
//
const app = createApp(App)
//
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(pinia)
//
app.use(router)
app.use(ArcoVue)
app.use(ElementPlus, {locale: zhCn})
//
app.config.globalProperties.request = request
//
app.mount('#app')

